﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace treeView.SqlDb.dbModel
{
    /// <summary>
    /// Log记录地址
    /// </summary>
    [Table("Log记录地址")]
    public class LogOpcuaNode
    {
        [Key]

        /// <summary>
        /// 序号
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Opcua地址
        /// </summary>
        public string OpcuaNode { get; set; }
        /// <summary>
        /// 显示格式
        /// </summary>
        public string DisplayFormat { get; set; }
        /// <summary>
        /// PLC
        /// </summary>
        public string PLC { get; set; }
        /// <summary>
        /// 在log表中的列
        /// </summary>
        public int SheetColumnIndex { get; set; }
        /// <summary>
        /// 表名
        /// </summary>
        public string SheetName { get; set; }
        /// <summary>
        /// 曲线分组
        /// </summary>
        public string Group { get; set; }
    }
}
